package com.universityJob.modules.sys.service;

import com.universityJob.common.utils.R;
import org.springframework.stereotype.Service;
import org.springframework.web.multipart.MultipartFile;

import java.io.File;
import java.io.IOException;

/**
 * @author mao on 2021/5/24.
 * @version 1.0 maozhijob@163.com
 */
public interface SysDataSourceService {

    int BackupDataSource(String path) throws IOException;

    int RecoverDataSource(File file) throws IOException;
}
